//
//  SearchViewController.h
//  floodAdvisor
//
//  Created by Long Ho on 2/22/10.
//  Copyright 2010 Lafayette College. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface SearchViewController : UIViewController <UITextFieldDelegate> {
	IBOutlet UITextField *streetTextField;
	IBOutlet UITextField *cityTextField;
	IBOutlet UITextField *stateTextField;
	IBOutlet UITextField *zipcodeTextField;
	IBOutlet UIScrollView *searchScrollView;
	IBOutlet UIButton *searchButton;
	
	CGFloat animatedDistance;
}

- (IBAction) search: (id) sender;
- (IBAction) makeKeyboardGoAway;
- (void) textFieldDidBeginEditing: (UITextField*) textField;
- (void) textFieldDidEndEditing: (UITextField*) textField;
- (BOOL) textFieldShouldReturn:(UITextField *) textField;

@property (nonatomic, retain) IBOutlet UITextField *streetTextField;
@property (nonatomic, retain) IBOutlet UITextField *cityTextField;
@property (nonatomic, retain) IBOutlet UITextField *stateTextField;
@property (nonatomic, retain) IBOutlet UITextField *zipcodeTextField;
@property (nonatomic, retain) IBOutlet UIScrollView *searchScrollView;
@property (nonatomic, retain) IBOutlet UIButton *searchButton;

@end
